package ming.hello.service.impl;

import ming.hello.dao.EmployeeDao;
import ming.hello.entry.Employee;
import ming.hello.service.EmployeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class EmployeeServiceImpl implements EmployeeService {
    @Autowired
    private EmployeeDao employeeDao;
    @Override
    public List<Map<String, Object>> getEmployeeAll() {
        return employeeDao.getEmployeeAll();
    }

    @Override
    public List<Employee> getEmployeeAll2() {
        return employeeDao.getEmployeeAll2();
    }

}
